/**
 * Основа.
 */
* {
	margin: 0;
	padding: 0;
	outline: none;
}

body {
	color: #333333;
	font-size: 14px;
	font-family: Tahoma;
	background: #ffffff;
}

a {
	color: #003786;
	text-decoration: underline;
	border-bottom-color: #003786;
	border-bottom-width: 0;
	border-bottom-style: dashed;
}
a:hover {
	color: #487EAB;
	text-decoration: none;
	border-bottom-color: #487EAB;
	border-bottom-width: 0;
	border-bottom-style: dashed;
}

a.dashed {
	text-decoration: none;
	border-bottom-width: 1px;
}
a.dashed:hover {
	text-decoration: none;
	border-bottom-width: 1px;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	border: 0;
}
h1 {
	font-size: 26px;
	font-weight: normal;
}
h2 {
	font-size: 22px;
	font-weight: normal;
}
h3 {
	font-size: 18px;
	font-weight: normal;
}
h4 {
	font-size: 16px;
	font-weight: bold;
}
h5 {
	font-size: 13px;
	font-weight: bold;
}
h6 {
	font-size: 11px;
	font-weight: bold;
}

p {
	padding: 11px 0;
}

/**
 * Уникальное.
 */
#header1,
#header2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
}
#header1 {
	background: #eff5f7;
	background: url();
	background: -moz-linear-gradient(top,  #eff5f7 1%, #ffffff 50%, #ffffff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#eff5f7), color-stop(50%,#ffffff), color-stop(100%,#ffffff));
	background: -webkit-linear-gradient(top,  #eff5f7 1%,#ffffff 50%,#ffffff 100%);
	background: -o-linear-gradient(top,  #eff5f7 1%,#ffffff 50%,#ffffff 100%);
	background: -ms-linear-gradient(top,  #eff5f7 1%,#ffffff 50%,#ffffff 100%);
	background: linear-gradient(top,  #eff5f7 1%,#ffffff 50%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eff5f7', endColorstr='#ffffff',GradientType=0 );
	border-bottom: 3px solid #E5ECF2;
}
#header2 .wrapper {
	background: url(../img/header.png) no-repeat right 8px;
	height: 150px;
}

#hmenu {
	position: absolute;
	bottom: -3px;
	left: 8px;
	font-size: 12px;
	font-weight: bold;
}
#hmenu ul {
	margin: 0;
	padding: 0;
	border: 0;
}
#hmenu ul li {
	list-style: none;
	float: left;
	margin: 0 0 0 2px;
	padding: 0;
	border: 0;
	
}
#hmenu ul li a,
#hmenu ul li strong {
	float: left;
	color: #333333;
	-moz-transform: matrix(1, 0, 0.75, 1, 0, 0);
	-webkit-transform: matrix(1, 0, 0.75, 1, 0, 0);
	-o-transform: matrix(1, 0, 0.75, 1, 0, 0);
	-ms-transform: matrix(1, 0, 0.75, 1, 0, 0);
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=1, M22=1, Dx=0, Dy=0);
	border-radius: 4px;
}
#hmenu ul li a {
	background: #f2f8fd;
	background: url();
	background: -moz-linear-gradient(top,  #f2f8fd 0%, #e5ecf2 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f8fd), color-stop(100%,#e5ecf2));
	background: -webkit-linear-gradient(top,  #f2f8fd 0%,#e5ecf2 100%);
	background: -o-linear-gradient(top,  #f2f8fd 0%,#e5ecf2 100%);
	background: -ms-linear-gradient(top,  #f2f8fd 0%,#e5ecf2 100%);
	background: linear-gradient(top,  #f2f8fd 0%,#e5ecf2 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f8fd', endColorstr='#e5ecf2',GradientType=0 );
	border: 1px solid #E5ECF2;
}
#hmenu ul li a:hover,
#hmenu ul li strong {
	background: #fff7d6;
	background: url();
	background: -moz-linear-gradient(top,  #fff7d6 0%, #ffe09d 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff7d6), color-stop(100%,#ffe09d));
	background: -webkit-linear-gradient(top,  #fff7d6 0%,#ffe09d 100%);
	background: -o-linear-gradient(top,  #fff7d6 0%,#ffe09d 100%);
	background: -ms-linear-gradient(top,  #fff7d6 0%,#ffe09d 100%);
	background: linear-gradient(top,  #fff7d6 0%,#ffe09d 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff7d6', endColorstr='#ffe09d',GradientType=0 );
	border: 1px solid #ECD1B2;
}
#hmenu ul li a span,
#hmenu ul li strong span {
	float: left;
	padding: 7px 22px;
	-moz-transform: matrix(1, 0, -0.75, 1, 0, 0);
	-webkit-transform: matrix(1, 0, -0.75, 1, 0, 0);
	-o-transform: matrix(1, 0, -0.75, 1, 0, 0);
	-ms-transform: matrix(1, 0, -0.75, 1, 0, 0);
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=-1, M22=1, Dx=0, Dy=0);
}

#logo {
	position: absolute;
	top: 32px;
	left: 0;
}

#panel {
	position: absolute;
	top: 29px;
	right: 280px;
	padding: 1px 11px 1px 1px;
	background: #F9F9F9;
	border: 1px solid #EAEAEA;
	border-radius: 4px;
}
#panel span,
#panel a {
	position: relative;
	top: 8px;
}
#panel span.avatar {
	top: 0;
	float: left;
	margin-right: 8px;
}
#panel span.avatar img {
	float: left;
	width: auto;
	height: 32px;
}

#body {
	padding-top: 150px;
	width: 100%;
}

/**
 * Общее.
 */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}

.clear {
	clear: both;
}

.fleft {
	float: left;
}
.fright {
	float: right;
}

.wrapper {
	position: relative;
	margin: 0 auto;
	width: 990px;
}

.padding {
	padding: 11px 0;
}

.ajax_icon {
	position: relative;
	top: 3px;
	visibility: hidden;
}

.fcnormal {
	color: #333333;
}
.fclight {
	color: #929292;
}
.fcred {
	color: #D12027;
}

.fsbigger {
	font-size: 18px;
}
.fsbig {
	font-size: 16px;
}
.fsnormal {
	font-size: 14px;
}
.fssmall {
	font-size: 12px;
}
.fsmini {
	font-size: 11px;
}

.lh1 {
	line-height: 1em;
}
.lh11 {
	line-height: 1.1em;
}
.lh12 {
	line-height: 1.2em;
}
.lh13 {
	line-height: 1.3em;
}
.lh14 {
	line-height: 1.4em;
}
.lh15 {
	line-height: 1.5em;
}
.lh16 {
	line-height: 1.6em;
}
.lh17 {
	line-height: 1.7em;
}
.lh18 {
	line-height: 1.8em;
}
.lh19 {
	line-height: 1.9em;
}
.lh2 {
	line-height: 2em;
}




.wsn {
	white-space: nowrap;
}

.tal {
	text-align: left;
}
.tac {
	text-align: center;
}
.tar {
	text-align: right;
}

.vat {
	vertical-align: top;
}
.vam {
	vertical-align: middle;
}
.vab {
	vertical-align: bottom;
}

.w16px {
	width: 16px;
}
.w100 {
	width: 100%;
}

p.crumbs {
	padding-bottom: 0;
}

p.pagination {
	font-size: 11px;
}
p.pagination strong,
p.pagination span.count,
p.pagination a {
	display: inline-block;
	padding: 4px 8px;
	text-decoration: none;
	background: #F9F9F9;
	border: 1px solid #EBEBEB;
	border-radius: 2px;
}
p.pagination strong,
p.pagination a:hover {
	color: #333333;
	background: #FFF6D3;
	border: 1px solid #ECD1B2;
}

.bodyhead {
	margin-bottom: -11px;
}

table.cols {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border: 0;
	width: 100%;
}
table.cols td.col {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: top;
}
table.cols td.col-topic-form-fields {
	padding-right: 22px;
	padding-bottom: 8px;
	width: 557px;
}

.msg {
	margin: 8px 0;
	padding: 10px 8px 11px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
	border: 1px solid;
	border-radius: 4px;
}
.msg-info {
	color: #00529B;
	background-color: #BDE5F8;
	background-image: url('../img/msg-info.png');
}
.msg-success {
  color: #4F8A10;
  background-color: #DFF2BF;
  background-image:url('../img/msg-success.png');
}
.msg-warning {
  color: #9F6000;
  background-color: #FEEFB3;
  background-image: url('../img/msg-warning.png');
}
.msg-error {
  color: #D8000C;
  background-color: #FFBABA;
  background-image: url('../img/msg-error.png');
}

/**
 * Формы.
 */
form.default input[type=button],
form.default input[type=submit] {
	cursor: pointer;
	padding: 3px 14px;
}
form.default input[type=text],
form.default input[type=password],
form.default textarea {
	padding: 3px;
	width: 400px;
}
form.default textarea {
	height: 200px;
}
form.default input.bigsubmit {
	position: relative;
	top: -2px;
	font-size: 22px;
	width: 98.2%;
	height: 51px;
}
form.default *[disabled=disabled] {
	color: #929292;
}
form.default .row {
	padding: 7px 0;
}
form.default .row .label {
	display: inline-block;
	padding-left: 2px;
	border-bottom: 1px dotted #D4D4D4;
	width: 150px;
}
form.default .row .field {
	display: inline-block;
}
form.default .row .desc {
	display: block;
	padding-top: 3px;
	padding-left: 163px;
	font-size: 11px;
}
form.default .row-button {
	margin-top: -3px;
}
form.default .row-button .field {
	margin-left: 155px;
}
form.default fieldset {
	margin-bottom: 14px;
	padding: 7px 14px;
	border: 1px solid #D4D4D4;
	border-radius: 7px;
}
form.default fieldset legend {
	padding: 0 7px;
	color: #929292;
	font-size: 13px;
}

form.default table.captcha {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border: 0;
	width: 100%;
}
form.default table.captcha td {
	margin: 0;
	padding: 0;
	border: 0;
	width: auto;
}
form.default table.captcha td input.captcha {
	position: relative;
	top: -2px;
	font-size: 37px;
	line-height: 37px;
	text-align: center;
	width: 145px;
}
form.default label.box {
	cursor: pointer;
}
form.default label.box input[type=checkbox] {
	position: relative;
	top: 2px;
}

/**
 * Форум.
 */
p.forum-buttons a {
	color: #333333;
	font-weight: bold;
	font-size: 11px;
	text-shadow: 0 1px 0 #F2F6F7;
	background: #f2f8fd; /* Old browsers */
	background: -moz-linear-gradient(top,  #f2f8fd 0%, #f2f8fd 49%, #e5ecf2 51%, #e5ecf2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f8fd), color-stop(49%,#f2f8fd), color-stop(51%,#e5ecf2), color-stop(100%,#e5ecf2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f2f8fd 0%,#f2f8fd 49%,#e5ecf2 51%,#e5ecf2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f2f8fd 0%,#f2f8fd 49%,#e5ecf2 51%,#e5ecf2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f2f8fd 0%,#f2f8fd 49%,#e5ecf2 51%,#e5ecf2 100%); /* IE10+ */
	background: linear-gradient(top,  #f2f8fd 0%,#f2f8fd 49%,#e5ecf2 51%,#e5ecf2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f8fd', endColorstr='#e5ecf2',GradientType=0 ); /* IE6-9 */
	border: 1px solid E5ECF2;
}
p.forum-buttons a:hover {
	text-shadow: 0 1px 0 #FFF6DD;
	background: #fff7d5; /* Old browsers */
	background: -moz-linear-gradient(top,  #fff7d5 0%, #fff7d5 49%, #ffe09e 51%, #ffe09e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff7d5), color-stop(49%,#fff7d5), color-stop(51%,#ffe09e), color-stop(100%,#ffe09e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fff7d5 0%,#fff7d5 49%,#ffe09e 51%,#ffe09e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fff7d5 0%,#fff7d5 49%,#ffe09e 51%,#ffe09e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fff7d5 0%,#fff7d5 49%,#ffe09e 51%,#ffe09e 100%); /* IE10+ */
	background: linear-gradient(top,  #fff7d5 0%,#fff7d5 49%,#ffe09e 51%,#ffe09e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff7d5', endColorstr='#ffe09e',GradientType=0 ); /* IE6-9 */
	border: 1px solid #ECD1B2;
}
 
table.forum {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border: 0;
	width: 100%;
	border-radius: 5px;
	box-shadow: 0 0 1px #ADADAD;
}
table.forum td {
	padding: 8px 11px;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #EAEAEA;
}
table.forum tr.first td {
	padding-left: 16px;
	background: #F6F6F6;
	border: 0;
	border-bottom: 1px solid #F9F9F9;
}
table.forum tr.first td h2 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 12px;
	font-weight: bold;
}
table.forum tr.first td h2 a {
	text-decoration: none;
}
table.forum tr.first td h2 a:hover {
	text-decoration: underline;
}
table.forum tr.first td:first-child {
	border-top-left-radius: 5px;
}
table.forum tr.first td:last-child {
	border-top-right-radius: 5px;
}
table.forum tr.thead td {
	white-space: nowrap;
	font-size: 11px;
	font-weight: bold;
	background: #EAEAEA;
	border-bottom: 1px solid #DEDEDE;
}
table.forum tbody tr:nth-child(even) td {
	background: #F9F9F9;
}
table.forum tbody tr td.altrow {
	background: #F9F9F9;
}
table.forum tbody tr td.altrow2 {
	background: #F3F3F3;
}
table.forum tbody tr td.ico {
	padding: 16px;
	width: 16px;
}
table.forum tbody tr:last-child td {
	border-bottom: 0;
}
table.forum tbody tr:last-child td:first-child {
	border-bottom-left-radius: 5px;
}
table.forum tbody tr:last-child td:last-child {
	border-bottom-right-radius: 5px;
}

table.forum span.title {}
table.forum span.desc {
	display: block;
	padding-top: 4px;
	padding-bottom: 4px;
	font-size: 12px;
	line-height: 1.2em;
}

table.forum_topic thead td {
	font-weight: bold;
	background: #F6F6F6;
}
table.forum_topic tbody td {
	vertical-align: top;
}
table.forum_topic tbody td.author {
	background: #F9F9F9;
	border-right: 1px solid #EAEAEA;
	width: 123px;
}
table.forum_topic tbody td.author .userpic {
	overflow: hidden;
	width: 123px;
	max-height: 123px;
}
table.forum_topic tbody td.author .userpic img {
	max-width: 123px;
}
table.forum_topic tbody td.author .userlink {
	padding: 8px 0;
}
table.forum_topic tbody td.author .userdata {
	padding-bottom: 8px;
}
table.forum_topic tbody td.author .userdata span.str {
	display: block;
}
table.forum_topic tbody td.message {
	padding: 0;
}
table.forum_topic tbody td.message .date {
	padding: 8px 11px;
	background: #F9F9F9;
	border-bottom: 1px solid #EAEAEA;
}
table.forum_topic tbody td.message .date span.sep {
	margin: 0 8px;
	font-size: 11px;
}
table.forum_topic tbody td.message .date .actions {
	float: right;
}
table.forum_topic tbody td.message .msgtext {
	padding: 11px 11px 16px 11px;
}
table.forum_topic tbody tr:nth-child(even) td {
	background: none;
}
table.forum_topic tbody tr:nth-child(even) td.altrow,
table.forum_topic tbody tr:nth-child(even) td.author {
	background: #F9F9F9;
}
table.forum_topic tbody tr:nth-child(even) td.altrow2 {
	background: #F3F3F3;
}

table.forum_cat tbody td {
	vertical-align: middle;
}

span.forum-ico {
	display: inline-block;
	width: 16px;
	height: 16px;
}
span.forum-ico-posts {
	background: url(../img/forum_posts.gif) no-repeat 0 0;
}
span.forum-ico-posts-off {
	background: url(../img/forum_posts_off.gif) no-repeat 0 0;
}
span.forum-ico-closed {
	background: url(../img/forum_closed.gif) no-repeat 0 0;
}

form.default textarea.markItUpEditor {
	width: 557px;
}
form.default iframe.markItUpPreviewFrame {
	border: 1px solid #D4D4D4;
	width: 563px;
}